{template Public:Admin:header}

<form method="post" id="SubmitData" method="post" enctype="multipart/form-data">
     <table class="table table-hover">
          <thead>
               <tr>
                    <th width="20%"> <i class="fa fa-circle-o"></i> 项目名称 </th>
                    <th>
                         <div class="col-lg-6"><i class="fa fa-code"></i> 项目值</div>
                    </th>
               </tr>
          </thead>
          <tbody>

               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>分类名称</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 分类名称 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="name" value="{if !empty($manage['name'])}{echo $manage['name']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>分类英文名称</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 分类英文名称 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="route" value="{if !empty($manage['route'])}{echo $manage['route']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>ICON CSS名称</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> ICON CSS名称 </td>
                    <td>
                         <div class="col-lg-6">
                              <input type="text" name="icon" value="{if !empty($manage['icon'])}{echo $manage['icon']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>分类级别,不选择为一级分类</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 分类级别</td>
                    <td>
                         <div class="col-lg-6">
                               <div id="AllCategory"></div>
                         </div>
                    </td>
               </tr>
               
                              
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>分类模块</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 分类模块 </td>
                    <td>
                         <div class="col-lg-6">
                               <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="task" value="1">
                                        <span class="text">任务分类</span>
                                    </label>
                                </div>
                                
                                 <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="service" value="1">
                                        <span class="text">服务分类</span>
                                    </label>
                                </div>
                                
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="news" value="1">
                                        <span class="text">资讯分类</span>
                                    </label>
                                </div>
                                
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="help" value="1">
                                        <span class="text">帮助分类</span>
                                    </label>
                                </div>
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>Logo</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> Logo </td><td>
                         <div class="col-lg-6">
                         {if !empty($manage['logo'])}<img src="/{echo $manage['logo']}" />{/if}
                         <input name="file" type="file" />
                         </div>
                    </td>
               </tr>
               
               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>任务中标手续费,在后台->用户->角色管理->编辑->收取手续费方式->使用分类设置 开启生效,输入20为收取20%</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 任务中标手续费 </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="taskfee" value="{if !empty($manage['taskfee'])}{echo $manage['taskfee']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>  
  
              <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>SEO Title</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> SEO Title </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="title" value="{if !empty($manage['title'])}{echo $manage['title']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>  
               
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>SEO Keywords</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> SEO Keywords </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="keywords" value="{if !empty($manage['keywords'])}{echo $manage['keywords']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>  

               <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>SEO Description</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> SEO Description </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="description" value="{if !empty($manage['description'])}{echo $manage['description']}{/if}" class="form-control" data-bv-notempty="true" data-bv-notempty-message="该值不能为空">
                         </div>
                    </td>
               </tr>  
                                           
                <tr>
                    <td> <a title="" data-original-title="" data-content="<p class='text_color_999'>分类排序 0~999</p>" data-title="提示" data-toggle="popover-hover" data-class="dark" data-container="body" href="javascript:void(0);"><i class="fa fa-question-circle"></i></a> 分类排序 </td><td>
                         <div class="col-lg-6">
                              <input type="text" name="displayorder" value="{if !empty($manage['displayorder'])}{echo $manage['displayorder']}{/if}" class="form-control">
                         </div>
                    </td>
               </tr>
               
          </tbody>
     </table>
     <div class="padding_20 text-center">
          <input type="hidden" name="Submit" value="true"/>
          <button class="btn btn-primary shiny" type="submit">提 交</button>
          <input type="hidden" name="upid" id="Catid" value="{if !empty($manage['upid'])}{echo $manage['upid']}{/if}"/>
     </div>
</form>

<!--Bootstrap Tags Input--> 
<script src="{echo AURL}/js/tagsinput/bootstrap-tagsinput.js"></script> 

<script>
$(function(){
	GetSelectCategory(0,0,0,0);
	
	{if !empty($manage['task'])}
	$('input[name="task"]').click();
	{/if}
	{if !empty($manage['service'])}
	$('input[name="service"]').click();
	{/if}
	
	{if !empty($manage['news'])}
	$('input[name="news"]').click();
	{/if}
	
	{if !empty($manage['help'])}
	$('input[name="help"]').click();
	{/if}
});

</script>
				
{template Public:Admin:footer}